<template>
  <div class="yhCont">
    <div class="left-Cont">
      <div class="top">
        <p>编辑个人资料</p>
        <span>编辑个人资料</span>
      </div>
      <div class="bom">
        <div class="bom-list">
          <p>公司(残疾人)</p>
          <p>用户名</p>
          <p>电子邮件地址</p>
        </div>
        <div class="bom-list">
          <p>名字</p>
          <p>姓</p>
        </div>
        <div class="bom-list">
          <p>ADRESS</p>
        </div>
        <div class="bom-list">
          <p>市</p>
          <p>国家</p>
          <p>邮政编码</p>
        </div>
        <div class="bomcont">
          <p>关于我</p>
          <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
          <textarea name="" id=""  rows="5"></textarea>
        </div>
       
      </div>
       <p class="grxx"><span>整理个人信息</span></p>
    </div>
    <div class="right-Cont">
      <div class="top">
        <div class="img">
          <img src="https://demos.creative-tim.com/vue-material-dashboard/img/marc.aba54d65.jpg" alt="">
        </div>
      </div>
      <p>CEO/CO-FOUNDER</p>
      <P>亚历克汤普森</P>
      <p>不要害怕真相，因为我们需要重新启动人类基础的事实我爱你就像Kanye喜欢Kanye我喜欢</p>
      <p>Rick Owens的床设计，但背面是...</p>
      <div class="gs"><span>跟随</span></div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },

  methods: {}
}
</script>

<style lang='less'  scoped>
  .yhCont{
    margin-left: 260px;
    margin-top: 100px;
    padding:0 20px;
    display: flex;
    box-sizing: border-box;
    .left-Cont{
      flex: 2;
      width: 100%;
      padding: 0 20px 20px 20px;
      background: white;
      box-sizing: border-box;
      margin-right: 20px;
      .top{
        width: 100%;
        padding: 10px 0;
        background: #59B15D;
        margin-top: -20px;
        border-radius: 5px;
        padding-left: 20px;
        box-sizing: border-box;
        p{
          font-size: 20px;
          color: white;
          margin: 10px 0;
        }
        span{
          font-size: 12px;
          color:#B2DDB4;
        }
      }
      .bom{
        .bom-list{
          display: flex;
          margin-top: 20px;
          color: #B3B3B3;
          p{
            flex: 1;
            border-bottom:1px solid #D2D2D2;
            padding: 20px 0 10px 0;
            &:nth-of-type(1){
              border-bottom:1px dashed #D2D2D2;
            }
            &:nth-of-type(2){
              margin: 0 20px;
            }
          }
        }
        .bomcont{
          margin-top: 20px;
          color: #B3B3B3;
          textarea{
            width: 100%;
            margin-top: 20px;
            border: none;
            border-bottom: 1px solid #D2D2D2;
          }
        }
      }
      .grxx{
        margin-top: 40px;
        width: 100%;
        text-align: right;
        margin-bottom: 40px;
        span{
          padding: 20px;
          background:#4CAF50;
          color: white;
        }
      }
    } 
    .right-Cont{
      flex: 1;
      width: 100%;
      height: 300px;
      background: white;
      .top{
        width: 100%;
        display: flex;
        justify-content: center;
       margin-top: -40px;
        .img{
          width: 130px;
          height: 130px;
          border-radius: 50%;
          overflow: hidden;
          img{
            width: 100%;
          }
        }
      }
      p{
        width: 100%;
        text-align: center;
        margin: 10px 0;
        font-size: 12px;
        color: #D2D2D2;
         &:nth-of-type(2){
           color: #9D9D9D;
           font-size: 16px;
         }
        &:nth-of-type(3){
          margin:0;
        }
        &:nth-of-type(4){
          margin:0;
        }
      }
      .gs{
        width: 100%;
        text-align: center;
        margin-top: 40px;
        span{
          padding: 10px 30px;
          color: white; 
          background: #4CAF50;
          border-radius: 25px;
          
        }
      }
    }
  }
</style>
